package com.orzxlee.InterviewQuestions.Java_SE_Advanced.Demo_Decorator;

/**
 * 装饰模式
 */
public class DecoratorTest {
    public static void main(String[] args) {

        Interable interable = new Inter();

        Decorator decorator = new Decorator(interable);
        decorator.method();



    }
}
